# -*- coding: utf-8 -*-
# @Time    : 2021/4/18 0018 12:38
# @Author  : 蒋才果
# @Email   : 1476235300@qq.com
# @File    : 统计.py
# @Software: PyCharm
# def count_str(str):
#     dic = {}
#     for word in str:
#         # if word in dic:
#         #     dic[word] += 1
#         # else:
#         #     dic[word] = 1
#         dic[word] = dic.get(word,0) + 1
#     return dic
# str = 'aaccvvddsdad'
# print(count_str(str))


